<%@ page language="java" import="java.util.*,com.gdpu.project.vo.*,com.gdpu.project.util.DateUtil" pageEncoding="UTF-8"%>
<%@include file="/share/taglib.jsp" %>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	List<CgPatent> cgPatentlist=(List<CgPatent>)request.getAttribute("cgPatentlist");
	int i=0;
%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>专利列表</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.tabfont01 {	
	font-family: "宋体";
	font-size: 9px;
	color: #555555;
	text-decoration: none;
	text-align: center;
}
.font051 {font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
	line-height: 20px;
}
.font201 {font-family: "宋体";
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.button {
	font-family: "宋体";
	font-size: 14px;
	height: 37px;
}
html { overflow-x: auto; overflow-y: auto; border:0;} 
-->
</style>
<link href="<%=basePath %>admin/achievementManager/css/css.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath %>admin/achievementManager/css/style.css" rel="stylesheet" type="text/css" />
</head>
<SCRIPT language=JavaScript>
function topage(page){
	var form = document.forms[0];
	form.currentpage.value=page;
	form.submit();
}
function change(){	
	fom.action ="WritExcel.action";
	fom.submit();
}

</SCRIPT>

<body>
<form name="fom" id="fom" method="post" action="<%=basePath%>advanceSearch.action">
	<input type="hidden" name="currentpage" value='1'/>
	<input type="hidden" name="college" value='<s:property value="college"/>'/>
	<input type="hidden" name="postion" value='<s:property value="postion"/>'/>
	<input type="hidden" name="department" value='<s:property value="department"/>'/>

	<input type="hidden" name="education" value='<s:property value="education"/>'/>
	<input type="hidden" name="teacherId" value='<s:property value="teacherId"/>'/>
	<input type="hidden" name="achievementType" value='<s:property value="achievementType"/>'/>
	<input type="hidden" name="startTime" value='<s:property value="startTime"/>'/>
	<input type="hidden" name="endTime" value='<s:property value="endTime"/>'/>
	<input type="hidden" name="cataloge" value='<s:property value="cataloge"/>'/>
</form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table id="subtree1" style="DISPLAY: " width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
         	  <tr> <td><input name="test" type="button" value="导出报表" onclick="change()"/></td></tr>
              <tr>
                <td height="40" class="font42">
				<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
				 <tr class="CTitle" >
                    	<td height="22" colspan="10" align="center" style="font-size:16px">专利列表</td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
				    <td width="5%" align="center" height="30">序号</td>
                    <td width="10%" align="center">负责人</td>
					<td width="10%" align="center">专利名称</td>
                    <td width="10%" align="center">获得证书时间</td>
                    <td width="10%" align="center">专利类别（发明/实用新型/外观设计/软件开发）</td>
                    <td width="10%" align="center">2009年科研分值</td>
                    <td width="10%" align="center">科研分酬金(每分折算4.6元,单位:元)</td>
                    <td width="10%" align="center">奖励酬金(元)</td>
                    <td width="10%" align="center">备         注</td>
					<td width="15%" align="center">操作</td>
                  </tr>
                  <%if(cgPatentlist!=null&&cgPatentlist.size()>0){ 
	                   for(CgPatent cgPatent:cgPatentlist){
	                   		i++;
                  %>
                  <tr bgcolor="#FFFFFF">
				    <td height="20" align="center"><%=i %></td>
                    <td  align="center"><%=cgPatent.getFuZeRen()!=null?cgPatent.getFuZeRen():"" %></td>
                    <td align="center" bgcolor="#FFFFFF"><%=cgPatent.getPatentTitle()!=null?cgPatent.getPatentTitle():"" %></td>
                    <td align="center" bgcolor="#FFFFFF"><%=cgPatent.getObtainCertificateTime()!=null?DateUtil.dateToString(cgPatent.getObtainCertificateTime()):""%></td>
                    <td  align="center"><%=cgPatent.getPatentType()!=null?cgPatent.getPatentType():"" %></td>
                    <td  align="center"><%=cgPatent.getKeYanFen() %></td>
                    <td  align="center"><%=cgPatent.getKeYanFenReword()%></td>
                    <td  align="center"><%=cgPatent.getReword() %></td>
                    <td  align="center"><%=cgPatent.getComment()!=null?cgPatent.getComment():"" %></td>
                    <td align="center" bgcolor="#FFFFFF"><a href="findPatentById.action?id=<%=cgPatent.getId() %>">编辑|</a>
					<a href="delPatentById.action?id=<%=cgPatent.getId() %>" onclick="if(confirm('你真的要删除吗？')==false)  return false;return true;">删除</a></td>
                  </tr>
                  <%	}%>
                  <tr  class="CTitle"><td colspan="10"  style="font-size: 14px;text-align: right">
  				<%@ include file="/share/paging.jsp" %>
 					</td></tr>
                <%}else{ %>
                  <tr bgcolor="#FFFFFF">
                    <td height="20" align="center" colspan="10">暂时没有数据...</td>
                  </tr>
                  <%} %>
            </table></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="6"><img src="../images/spacer.gif" width="1" height="1" /></td>
        </tr>
        <tr>
          <td height="33"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="right-font08">
          </table></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
